package 策略模式;



//策略模式的封装类
public class StrateFactory {
     public  FindType strategy;
     public  StrateFactory(FindType strategy) {
         this.strategy = strategy;
     }
    public String find() {
         return  strategy.find();
    }
}
